import { auth, currentUser } from "@clerk/nextjs/server";

export default async function DashboardPage() {
    const authObj = await auth();
    const userObj = await currentUser();
    console.log(authObj, userObj);
    // 一般使用authObj中的userId作为判断
    return (
        <h1>Dashboard Page</h1>
    )
}
